home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / biz / patch / sc658pch.lha / install < prev    next >
Text File  |  1997-07-10  |  5KB  |  189 lines

  1. .bra [
  2. .ket ]
  3.  
  4. echo ""
  5. echo "This script will apply the 6.58 patch for the"
  6. echo "SAS/C Development System. This patch will read"
  7. echo "from the original 6.50 system disks, but you "
  8. echo "should have 6.57 installed on your system since"
  9. echo "this patch does not update all of the files that"
  10. echo "6.55, 6.56, and 6.57 did."
  11. echo ""
  12. echo "Check the read.me file for a list of fixed bugs."
  13. echo ""
  14. ask "Continue with patch?"
  15.  
  16. if warn
  17.  
  18. if exists sc:c/sc
  19. echo Patching SC
  20. decompress SASC_6.50_Disk_1:Compiler/c_files t: sc
  21. spatch -osc:c/sc -psc.pch t:sc
  22. delete t:sc quiet
  23. endif
  24.  
  25. if exists sc:c/se
  26. echo Patching SE
  27. decompress SASC_6.50_Disk_1:Compiler/c_files t: se
  28. spatch -osc:c/se -pse.pch t:se
  29. delete t:se quiet
  30. endif
  31.  
  32. if exists sc:c/smake
  33. echo Patching SMAKE
  34. decompress SASC_6.50_Disk_1:Compiler/c_files t: smake
  35. spatch -osc:c/smake -psmake.pch t:smake
  36. delete t:smake quiet
  37. endif
  38.  
  39. if exists sc:c/slink
  40. echo Patching slink
  41. decompress SASC_6.50_Disk_1:Compiler/c_files t: slink
  42. spatch -osc:c/slink -pslink.pch t:slink
  43. delete t:slink quiet
  44. endif
  45.  
  46. if exists sc:libs/sc2.library
  47. echo Patching SC2.LIBRARY
  48. decompress SASC_6.50_Disk_1:Compiler/libs_files t: sc2.library
  49. spatch -osc:libs/sc2.library -psc2.pch t:sc2.library
  50. delete t:sc2.library quiet
  51. endif
  52.  
  53. if exists sc:libs/sc1.library
  54. echo Patching SC1.LIBRARY
  55. decompress SASC_6.50_Disk_1:Compiler/libs_files t: sc1.library
  56. spatch -osc:libs/sc1.library -psc1.pch t:sc1.library
  57. delete t:sc1.library quiet
  58. endif
  59.  
  60. if exists sc:libs/scdebug.library
  61. echo Patching SCDEBUG.LIBRARY
  62. decompress SASC_6.50_Disk_1:Compiler/libs_files t: scdebug.library
  63. spatch -osc:libs/scdebug.library -pscdebug.pch t:scdebug.library
  64. delete t:scdebug.library quiet
  65. endif
  66.  
  67. if exists sc:libs/scgo.library
  68. echo Patching SCGO.LIBRARY
  69. decompress SASC_6.50_Disk_3:optimizers/libs_files t: scgo.library
  70. spatch -osc:libs/scgo.library -pscgo.pch t:scgo.library
  71. delete t:scgo.library quiet
  72. endif
  73.  
  74. if exists sc:libs/scpeep.library
  75. echo Patching SCPEEP.LIBRARY
  76. decompress SASC_6.50_Disk_3:optimizers/libs_files t: scpeep.library
  77. spatch -osc:libs/scpeep.library -pscpeep.pch t:scpeep.library
  78. delete t:scpeep.library quiet
  79. endif
  80.  
  81. if exists sc:c/asm
  82. echo Patching ASM
  83. decompress SASC_6.50_Disk_3:Assembler/c_files t: asm
  84. spatch -osc:c/asm -pasm.pch t:asm
  85. delete t:asm quiet
  86. endif
  87.  
  88. if exists sc:libs/sccxx.library
  89. echo Patching SCCXX.LIBRARY
  90. decompress SASC_6.50_Disk_3:C_PLUS_PLUS/libs_files t: sccxx.library
  91. spatch -osc:libs/sccxx.library -psccxx.pch t:sccxx.library
  92. delete t:sccxx.library quiet
  93. endif
  94.  
  95. if exists sc:c/cpr
  96. echo Patching CPR
  97. decompress SASC_6.50_Disk_4:Debugger/c_files t: cpr
  98. spatch -osc:c/cpr -pcpr.pch t:cpr
  99. delete t:cpr quiet
  100. endif
  101.  
  102. if exists sc:libs/schi.library
  103. echo Patching SCHI.LIBRARY
  104. decompress SASC_6.50_Disk_4:Debugger/libs_files t: schi.library
  105. spatch -osc:libs/schi.library -pschi.pch t:schi.library
  106. delete t:schi.library quiet
  107. endif
  108.  
  109.  
  110. if exists sc:c/gst
  111. echo Patching GST
  112. decompress SASC_6.50_Disk_5:Extra_Utilities/c_files t: gst
  113. spatch -osc:c/gst -pgst.pch t:gst
  114. delete t:gst quiet
  115. endif
  116.  
  117. if exists sc:lib/sc.lib
  118. echo Replacing functions in SC.LIB
  119. oml sc:lib/sc.lib r _iob.osc
  120. endif
  121.  
  122.  
  123. if exists sc:lib/scs.lib
  124. echo Replacing functions in SCS.LIB
  125. oml sc:lib/scs.lib r _iob.oscs
  126. endif
  127.  
  128. if exists sc:lib/scnb.lib
  129. echo Replacing functions in SCNB.LIB
  130. oml sc:lib/scnb.lib r _iob.oscnb
  131. endif
  132.  
  133. if exists sc:lib/scsnb.lib
  134. echo Replacing functions in SCSNB.LIB
  135. oml sc:lib/scsnb.lib r _iob.oscsnb
  136. endif
  137.  
  138. if exists sc:lib/scm.lib
  139. echo Replacing functions in SCM.LIB
  140. oml sc:lib/scm.lib r _cxvfd.oscm
  141. endif
  142.  
  143. if exists sc:lib/scms.lib
  144. echo Replacing functions in SCMS.LIB
  145. oml sc:lib/scms.lib r _cxvfd.oscms
  146. endif
  147.  
  148. if exists sc:lib/scmnb.lib
  149. echo Replacing functions in SCMNB.LIB
  150. oml sc:lib/scmnb.lib r _cxvfd.oscmnb
  151. endif
  152.  
  153. if exists sc:lib/scmsnb.lib
  154. echo Replacing functions in SCMSNB.LIB
  155. oml sc:lib/scmsnb.lib r _cxvfd.oscmsnb
  156. endif
  157.  
  158. if exists sc:lib/scmieee.lib
  159. echo Replacing functions in SCMIEEE.LIB
  160. oml sc:lib/scmieee.lib r _cxvfd.oscmieee
  161. endif
  162.  
  163. if exists sc:lib/scm881.lib
  164. echo Replacing functions in SCM881.LIB
  165. oml sc:lib/scm881.lib r _cxvfd.oscm881
  166. endif
  167.  
  168. if exists sc:lib/scmffp.lib
  169. echo Replacing functions in SCMFFP.LIB
  170. oml sc:lib/scmffp.lib r _cxvffpd.oscmffp
  171. endif
  172.  
  173. echo "Adding new math library (scm881nb.lib)"
  174. copy scm881nb.lib sc:lib
  175. echo "Adding new math library (scm040.lib)"
  176. copy scm040.lib sc:lib
  177.  
  178. if exists sc:source/_iob.c
  179. echo "Replacing _iob.c"
  180. copy _iob.c sc:source/_iob.c
  181. endif
  182.  
  183. echo "Installing read.me file for 6.58"
  184. copy read.me sc:read.me.6.58
  185. copy read.me.info sc:read.me.6.58.info
  186.  
  187.  
  188. endif
  189.